import { App, Plugin } from 'vue'
import XForm from './components/DcForm/src/FormWrapper.vue'

// 插件安装方法
const install: Plugin = {
  install(app: App) {
    app.component('VueDcForm', XForm)
  }
}

export * from './components/DcForm/index'

// 默认导出插件
export default install

// 导出组件
export { XForm }